package grape.crm.service.customer.param;

import grape.common.service.dto.BaseParamDto;
import grape.crm.service.customerassociatedcontactperson.param.AddCustomerAssociatedContactPersonParam;
import grape.crm.service.customercontact.param.AddCustomerContactParam;
import grape.crm.service.customercredential.param.AddCustomerCredentialParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * Created by yangwei
 * Created at 2020/9/15 18:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AddCustomerParam extends BaseParamDto {

    /**
     * 客户编号，唯一
     */
    private String code;

    /**
     *  称呼
     */
    private String appellation;

    /**
     * 姓名，真实姓名
     */
    private String name;

    /**
     * 头像，图片绝对路径
     */
    private String avatar;

    /**
     * 性别，字典id
     */
    private String genderDictId;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 出生年月日
     */
    private Date birthDay;

    /**
     * 客户所在公司id
     */
    private String companyId;

    /**
     * 客户所在部门id
     */
    private String departmentId;

    /**
     * 客户分类，字典
     */
    private String categoryDictId;

    /**
     * 归属用户id
     */
    private String belongUserId;
    /**
     * 证件信息
     */
    List<AddCustomerCredentialParam> customerCredentials;
    /**
     * 联系方式
     */
    List<AddCustomerContactParam> customerContacts;
    /**
     * 关联联系人
     */
    List<AddCustomerAssociatedContactPersonParam> customerAssociatedContactPersons;


}
